﻿// --------------------------------
// <copyright file="FluidDeathConfig.cs" company="Faculty of Information Technology, Czech Technical University in Prague">
//     This document is shared by Microsoft Public License (MS-PL)
//     For further details please see http://msdn.microsoft.com/en-us/library/ff648068.aspx or license.txt.
// </copyright>
// <author>Lukáš Molnár</author>

// <email>molnaluk@fit.cvut.cz</email>

// <date>22. 11. 2011 10:48:44</date>

// <summary>
//
// </summary>
// --------------------------------

using System.Collections.Generic;
using Microsoft.Xna.Framework;
using FITClub.Episode1.Configuration;

#if WINDOWS

using System.Drawing.Design;
using System.ComponentModel;

#endif

namespace FITClub.Episode1.Levels
{
    /// <summary>
    /// Configuration of FluidDeath
    /// </summary>
    public class FluidDeathConfig
    {
#if WINDOWS

        [Category("Path")]
        [Editor(typeof(ContentPathEditor), typeof(UITypeEditor))]
        [EditorBrowsable(EditorBrowsableState.Always)]
#endif
        public string WaterPath { get; set; }

        public List<TextureItem> TexturePaths { get; set; }

        public double Period { get; set; }

        public Vector3 Position { get; set; }

        public override string ToString()
        {
            return string.Format("{0} [{1};{2};{3}] {4}", this.WaterPath, this.Position.X, this.Position.Y, this.Position.Z, this.Period);
        }
    }
}